package com.beamfield.dao.steelplant;

import com.beamfield.model.SteelplantUsepartType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SteelplantUsepartTypeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SteelplantUsepartType record);

    int insertSelective(SteelplantUsepartType record);

    SteelplantUsepartType selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SteelplantUsepartType record);

    int updateByPrimaryKey(SteelplantUsepartType record);

    List<SteelplantUsepartType> selectByBeamId(@Param("beamId") Long beamId,@Param("name") String typeName);
}
